<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>内容分类管理-网站管理后台</title>
<link title="Style" href="/content/css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="AsmTopbox">
    <a href="#" class="logo"><img src="/content/images/logo.png" width="185" /></a>
    <div class="AsmNav">
        <div class="Nav_top">
            <strong id="show_MyUserName">easystarxl</strong>，欢迎您登录广告系统，您好！ [<a href="#">修改资料</a>，<a href="#" onclick="return confirm('确定要退出系统吗？');">退出系统</a>]&nbsp;&nbsp;
            <img src="/content/images/icon_Ss.gif" width="20" height="20" /><a href="http://www.0001688.com/" target="_blank">查看华贸城官网</a>&nbsp;&nbsp;
            <img src="/content/images/Notice.gif" align="absmiddle" />
            <a href="#">点击联系客服！</a>
            <div id="FxsGg" style="float:left;"></div>
            <input type="hidden" id="OldMsg">
        </div>
        <div class="Top_Menu">
            <div class="Top_Menu_Off"><a href="/manage">首页</a></div>
            <div class="Top_Menu_On"><a href="/manage/news">内容管理</a></div>
            <div class="Top_Menu_Mid"><img border="0" src="/content/images/Top_Menu_Mid.gif"></div>
            <div class="Top_Menu_Off"><a onclick="return confirm('确定要退出系统吗？');" href="#">退出</a></div>
        </div>
    </div>
</div>
<!--内容 star-->
<div class="AsmW100">
    <div class="Asmleftbox Left_Top_Menu">
        <div class="mt"><s></s><h2>内容管理</h2></div>
        <div class="mc childTable">
            <ul>
                <li class="Left_Menu_Off"><a href="/manage/news">内容管理</a></li>
                <li class="Left_Menu_On"><a href="/manage/news/category">分类管理</a></li>
                <li class="Left_Menu_Off"><a href="/manage/news/newsadd">添加内容</a></li>
                
            </ul>
        </div>
    </div>
    <!-- 左边菜单完 -->    
    <div class="Asmrightbox">
    <table width="100%" border="0" cellspacing="0" cellpadding="10">
        <tr>
            <td>
                <div class="Main_Menu" style="display:block;">
                    <div class="Main_Menu_On"><a href="#">分类管理-内容管理</a></div>
                </div>
                <table width="100%" border="0" cellpadding="0" cellspacing="0" class="Main_Table">
                    <tr>
                        <td class="Main_Table_Td">
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td>&nbsp;
                                        
                                    </td>
                                    <td width="100">
                                        <input type="hidden" onclick="history.go(-1);" class="btn_Back" onfocus="this.blur();"
                                            value="点击返回" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td bgcolor="#FFFFFF" style="padding: 20px;" class="Asmfliter">
                            <!-- 内容开始 -->
                                <form name="search_frm" id="SearchFrm" method="get" action="">
                                    <div class="Asmr_top">
                                        <input type="hidden" name="do" value="search">
                                        <ul class="search float">
                                            <li>
                                                <div class="label"><label>所在页面：</label></div>
                                                <div class="type">
                                                    <select name="catid">
                                                    <option value="">全部</option>
                                                    <option value="1">网上商城</option>
                                                    <option value="2">团购</option>
                                                    <option value="3">华贸城网</option>
                                                    <option value="4">逛华贸城</option>
                                                    <option value="5">华贸城资讯</option>
                                                    <option value="14">团购详细页</option>
                                                    <option value="15">批发首页</option>
                                                    <option value="16">批发分类首页</option>
                                                    <option value="17">批发二级分类</option>
                                                    <option value="18">批发三级分类</option>
                                                    <option value="20">商家促销</option>
                                                    <option value="27">批发一级分类</option>
                                                    </select>
                                                </div>
                                            </li>
                                            <li>
                                                <div class="label"><label>广告位名称：</label></div>
                                                <div class="type">
                                                    <input type="text" class="t_ipt" />
                                                </div>
                                            </li>
                                            <li>
                                                <a class="btn" href="#">搜索</a>
                                            </li>
                                        </ul>
                                    </div>
                                </form>
                             
                                    <div class="Asmr_cen fix">
                                        <div class="A_cen_t fix"> 
                                            <div class="l">
                                                <span class="left">
                                                    <input type="checkbox" name="idAll" class="chk" onclick="pbCheckAll(this,'id[]');" title="全选/全不选">
                                                    <label class="lab" for="sel_all">全选</label>
                                                </span>
                                                <span class="left">
                                                    <a href="javascript:"  class="btn">删除</a>
                                                </span>
                                                <span class="left"><a class="btn create1" href="/manage/news/categoryadd">添加</a></span>
                                            </div>
                                            <div class="page r">
                                                <em>总记录数：</em><?php echo count($category_list);?>
                                            </div>
                                        </div>
                                        <div class="A_cen_c fix">
                                            <table class="dataintable">
                                            <tr class="thead">
                                                <th></th>
                                                <th>编号</th>
                                                <th><label for="idAll">分类名称</label></th>
                                                <th>父类ID</th>
                                                <th>分类简介</th>
                                                <th>创建时间</th>
                                                
                                                <th>操作</th>
                                            </tr>
                                            <?php foreach ($category_list as $item): ?>
                                                <tr>
                                              <td class="firstCell" width="50px">
                                              <input type="checkbox" name="id[]" value="3020" onclick="pbCheckItem(this,'idAll');" id="item_3020" title="3020">
                                              </td>
                                              <td><?php echo $item['CategoryId'];?></td>
                                              <td><label for="item_3020"><?php echo $item['CategoryName'];?></label></td>
                                              <td><?php echo $item['ParentId'];?></td>
                                              <td><?php echo $item['Comment'];?></td>
                                              <td><?php echo $item['CreateOn'];?></td>
                                              
                                              <td class="handler">
                                                <ul class="blue float">
                                                  <li><a href="/manage/news/categorydel?id=<?php echo $item['CategoryId'];?>" title="删除" class="btn">删除</a></li>
                                                  <li><a title="编辑" href="/manage/news/categoryedit?id=<?php echo $item['CategoryId'];?>" class="btn editbox1">编辑</a></li>
                                                  
                                                </ul>
                                              </td>
                                            </tr>
                                            <?php endforeach;?>
                                            
                                            
                                            </table>
                                        </div>
                                    </div>
                                
                                <div class="Asmr_bot fix"> 
                                    <div class="A_bot_l l"> 
                                        <span class="left">
                                        <input type="checkbox" name="idAll" class="chk" onclick="pbCheckAll(this,'id[]');" title="全选/全不选">
                                        <label class="lab" for="sel_all">全选</label>
                                        </span> 
                                        <span class="left"> 
                                        <a href="javascript:"  class="btn">删除</a>
                                        </span> 
                                        
                                    </div>
                                    <div class="r">             
                                            
                                    </div>
                                </div>
                            <!-- 内容结束 -->
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
	</div>
</div>
<!--内容 end-->
</body>
</html>
